Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Functions for Getting and Playing Movies / Enhancing Movie Playback Performance


GetMediaShadowSync

The GetMediaShadowSync function returns the sample number of the shadow sync associated with a given frame difference sample number.

pascal OSErr GetMediaShadowSync (Media theMedia, 
                                 long frameDiffSampleNum, 
                                 long *syncSampleNum);
theMedia
Indicates the media in which the shadow sync sample has been established and the shadow sync number is to be obtained.
frameDiffSampleNum
Specifies the frame difference sample number associated with the desired shadow sync sample number.
syncSampleNum
Contains a pointer to the sample number of the shadow sync. If the frameDiffSample parameter does not have a shadow sync, 0 is returned in the syncSampleNum parameter.
ERROR CODES
Memory Manager errors


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996